package me.firstapp.manage.cash;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

import me.firstapp.manage.common.BaseManage;

@Controller
@RequestMapping(value = "/cashManage")
public class CashManagePage extends BaseManage {

	@RequestMapping(value = "/cashApplyList.html", method = RequestMethod.GET)
	public ModelAndView cashApplyListView(HttpServletRequest request, HttpServletResponse response, ModelMap modelMap) {
		return new ModelAndView("cash/cashApplyList", modelMap);
	}

	@RequestMapping(value = "/cashApplyAddRemark.html", method = RequestMethod.GET)
	public ModelAndView cashApplyAddRemarkView(Long id, HttpServletRequest request, HttpServletResponse response,
			ModelMap modelMap) {
		modelMap.put("id", id);
		return new ModelAndView("cash/addCashApplyRemark", modelMap);
	}
}
